/****************************************************************************
** ui.h extension file, included from the uic-generated form implementation.
**
** If you want to add, delete, or rename functions or slots, use
** Qt Designer to update this file, preserving your code.
**
** You should not define a constructor or destructor in this file.
** Instead, write your code in functions called init() and destroy().
** These will automatically be called by the form's constructor and
** destructor.
*****************************************************************************/


void PychonForm::fileNew()
{

}

void PychonForm::fileExit() {
  import sys
  sys.exit()
}

void PychonForm::helpAbout() {
  from gui.aboutdialog import AboutDialog
  about = AboutDialog()
  about.show()
}

//-----
void Form1::setHandCard(pos, text) {
  if pos == 0:
    card1.setText(text);
  elif pos == 1:
    card2.setText(text);
  elif pos == 2:
    card3.setText(text);
  elif pos == 3:
    card4.setText(text);
  elif pos == 4:
    card5.setText(text);
  elif pos == 5:
    card6.setText(text);
  elif pos == 6:
    card7.setText(text);
}

void PychonForm::setStackCard(text) {
  stack.setText(text);
}


void PychonForm::deck_clicked()
{

}


void PychonForm::stack_clicked()
{

}


void PychonForm::card1_clicked()
{

}


void PychonForm::card2_clicked()
{

}


void PychonForm::card3_clicked()
{

}


void PychonForm::card4_clicked()
{

}


void PychonForm::card5_clicked()
{

}


void PychonForm::card6_clicked()
{

}


void PychonForm::card7_clicked()
{

}
